package com.shixi.shixitraining.shixitraining.ui.tabhome.entity;

import com.shixi.shixitraining.shixitraining.view.loopPager.LooperBaseBean;

/**
 * Created by shenyan on 2018/7/6.
 */

public class HomeBannerBean extends LooperBaseBean{

    private String title;
    private String  url;
    private int resImage;

    public HomeBannerBean(String title, int resImage) {
        this.title = title;
        this.resImage = resImage;
    }
    public HomeBannerBean(String title, String url) {
        this.title = title;
        this.url = url;
    }

    public HomeBannerBean(int resImage) {
        this.resImage = resImage;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String getTile() {
        return title;
    }

    @Override
    public String getImgUrl() {
        return url;
    }

    @Override
    public int getImgRes() {
        return resImage;
    }


}
